Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Configure the DHCP Settings of a Network Adapter (Windows NT/2000/XP)
Category: Home > Network > Protocols > TCP-IP

This setting controls whether TCP/IP should use DHCP to automatically assign an IP address, or if it should use the statically defined address.

Open your registry and find the key below, where {Adapter} equals the service name of the installed network card.

Change the value of 'EnableDHCP' to equal either '0' for disabled, or '1' for enabled.

Note: If you change this setting to disabled, make sure you have IP addressing information defined.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|EnableDHCPREG_DWORD0x00000001 (1)|
-
|HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{Adapter}\Parameter...|
-

Settings:
System Key: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\{Adapter}\
Parameters\Tcpip]

Name: EnableDHCP
Type: REG_DWORD (DWORD Value)
Value: (0 = DHCP Disabled, 1= DHCP Enabled)

Related Tweaks

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: February 9, 1999

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License